
using Bee.Base.Models.Tasks;

namespace Bee.Plugin.Multimedia.Models;

public class VideoTranscodingArguments : TaskArgumentBase
{
    /// <summary>
    /// 输出格式
    /// </summary>
    public string OutputFormat { get; set; } = "mp4";
    /// <summary>
    /// 编码器索引
    /// </summary>
    public short? CodecIndex { get; set; } = -1;
    /// <summary>
    /// 分辨率索引
    /// </summary>
    public short? ResolutionIndex { get; set; } = -1;
    /// <summary>
    /// 帧率索引
    /// </summary>
    public short? FpsIndex { get; set; } = -1;
    /// <summary>
    /// 静音
    /// </summary>
    public bool? Mute { get; set; } = false;
    /// <summary>
    /// 文件存在时覆盖
    /// </summary>
    public bool Overwrite { get; set; } = true;
    /// <summary>
    /// 移除黑帧
    /// </summary>
    // public bool RemoveBlackFrame { get; set; } = false;
}